package com.sgzn.sgpay.web.request.Impl;

import com.sgzn.sgpay.web.request.AbstractCommonRequest;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 查询经营分析web 请求类
 * @author huangsenguang
 * @version Id: QueryIncomeRequest.java, v 0.1 2018/5/27 16:59 huangsenguang Exp $$
 */
@Data
public class QueryIncomeRequest extends AbstractCommonRequest {
    @NotBlank(message = "loginToken不允许为空")
    private String loginToken;

    /**
     * 设备id 集合
     */
    @NotNull(message = "设备id 集合deviceIdList不允许为空")
    private List<String> deviceIdList;

    /**
     * 开始时间
     */
    @NotNull(message = "开始时间不允许为空")
    private Long beginTime;
}

